Auto merge of #3857 - antonlarin:rebuild-on-env-change, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 23 Mar 2017 23:26:55 +0000 (23:26 +0000)
committerbors <bors@rust-lang.org>
Thu, 23 Mar 2017 23:26:55 +0000 (23:26 +0000)
commit20f6efff38b68bc1ee19ac7e52456aae70dc04ce
tree8c698ba62a71bde06983d66dd8c1d37ef539856c
parent4e95c6b41eca3388f54dd5f7787366ad2df637b5
parentd70ca2108f88b0deaf7a6793aba3554abccee770
Auto merge of #3857 - antonlarin:rebuild-on-env-change, r=alexcrichton

Include package props with corresponding env vars into target metadata

Previously, when changing package properties with corresponding environment variables (such as authors, which has CARGO_PKG_AUTHORS), it didn't invalidate the build, even though there could have been a dependency on such variables in the source code.

This commit includes 3 such properties: authors list, description and homepage in the target metadata.

I've added a test only for description change, can add more if necessary.
Fixes #3696.